using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;

namespace Zeus.Biz.DomainModel.NHib.Northwind {
    
    
    public class CustomerDemographicMap : ClassMap<CustomerDemographic> {
        
        public CustomerDemographicMap() {
			Table("CustomerDemographics");
			LazyLoad();
			Id(x => x.CustomerTypeID).GeneratedBy.Assigned().Column("CustomerTypeID");
			Map(x => x.CustomerDesc).Column("CustomerDesc").Length(1073741823);
			HasMany(x => x.CustomerCustomerDemos).KeyColumn("CustomerTypeID");
        }
    }
}
